package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 挂售日志
 * </p>
 *
 * @author jj
 * @since 2019-12-11
 */
@TableName("yingbao_sys_sell_log")
public class SysSellLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 挂售用户id
     */
    @TableField("userid")
    private Long userid;

    /**
     * 挂售单号
     */
    @TableField("ordinal")
    private String ordinal;

    /**
     * 价格
     */
    @TableField("price")
    private Long price;

    /**
     * 支付方式
     */
    @TableField("pay_type")
    private Integer payType;

    /**
     * 挂售状态
     */
    @TableField("stuats")
    private String stuats;

    /**
     * 挂售时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 是否是平台
     */
    @TableField("standby1")
    private String standby1;

    @TableField("standby2")
    private String standby2;

    /**
     * 备注
     */
    @TableField("standby3")
    private String standby3;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(String ordinal) {
        this.ordinal = ordinal;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getStuats() {
        return stuats;
    }

    public void setStuats(String stuats) {
        this.stuats = stuats;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStandby1() {
        return standby1;
    }

    public void setStandby1(String standby1) {
        this.standby1 = standby1;
    }

    public String getStandby2() {
        return standby2;
    }

    public void setStandby2(String standby2) {
        this.standby2 = standby2;
    }

    public String getStandby3() {
        return standby3;
    }

    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "SysSellLog{" +
        "id=" + id +
        ", userid=" + userid +
        ", ordinal=" + ordinal +
        ", price=" + price +
        ", payType=" + payType +
        ", stuats=" + stuats +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", standby1=" + standby1 +
        ", standby2=" + standby2 +
        ", standby3=" + standby3 +
        ", version=" + version +
        "}";
    }
}
